<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
    <div class="panel panel-default">
    <div class="panel-body">
    <div class="col-sm-12">

        <div class="row ">
            <div class="col-sm-2">
              <select class="form-control" ng-model="searchform.category">
                <option value=""> -- 全部 -- </option>
                <option value="1"> 旅行社 </option>
                <option value="2"> 景区 </option>
              </select>
            </div>
            
            <div class="col-sm-2">
              <input type="text" class="form-control" ng-model="searchform.question" placeholder="问题" >
            </div>

            <div class="col-sm-offset-4 col-sm-2">
              <button class="btn btn-block btn-info" ng-click="create()">添加问题</button>
            </div>
            
            <div class=" col-sm-2">
              <button type="button" class="btn btn-block btn-info" ng-click="getlist()">立即搜索</button>
            </div>
        </div>

        </div>
    </div>
</div><!-- searchArea -->


      <div class="panel panel-default">
          <div class="panel-body">
              <table class="table table-condensed table-hover table-bordered">
                  <thead>
                      <tr>
                        <th class="col-md-2 text-center">分类</th>
                        <th class="col-md-8 text-center">问题</th>
                        <th class="col-md-2 text-center">操作</th>
                      </tr>
                    </thead>
                    <tbody>
                      <tr ng-repeat="obj in objs">
                        <td class="text-center">{{obj.category}}</td>
                        <td class="text-center">{{obj.question}}</td>
                        <td class="text-center">
                          <a ng-click="del(obj.id)" class="btn btn-danger btn-xs">删除</a>
                          <a ng-click="edit(obj.id)" class="btn btn-info btn-xs">编辑</a>
                        </td>
                        </th>
                      </tr>
                    </tbody>
                  </table>
          </div>
        </div>
</div>

<!--   <div class="text-right">

    <uib-pagination 
      total-items="bigTotalItems" 
      ng-model="bigCurrentPage" 
      max-size="maxSize" 
      class="pagination-sm" 
      boundary-links="true" 
      ng-change="load()"
      items-per-page="itemsPerPage"
      previous-text="上一页"
      next-text="下一页"
      first-text="首页"
      last-text="末页"
      rotate="false">
    </uib-pagination>

  </div> -->
  

</div>